package com.getui.java.advancedpushmessage;

import java.util.ArrayList;
import java.util.List;

import com.getui.java.COMM;
import com.gexin.rp.sdk.base.IPushResult;
import com.gexin.rp.sdk.http.IGtPush;

public class DelBlackCidListDemo {

	public static void testRestoreCidList() {
		List<String> cidList = new ArrayList<String>();
		cidList.add(COMM.CID);
		IGtPush push = new IGtPush(COMM.appKey, COMM.masterSecret);
		IPushResult pushResult = push.restoreCidListFromBlk(COMM.appId, cidList);
		System.out.println("黑名单删除结果：" + pushResult.getResponse());
		// 黑名单删除结果：{result=success}
	}

	public static void main(String[] args) {
		testRestoreCidList();
	}
}